/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: PACKAGE_NAME
 * @ClassName: Teacher
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/10/10 15:16
 * @Copyright 金斗版板所有
 */
public class Teacher extends Person {
    private int workNumber;
    private int workmoney;
    private int work;

    public void setWorkNumber(int workNumber) {
        this.workNumber = workNumber;
    }

    public void setWorkmoney(int workmoney) {
        this.workmoney = workmoney;
    }

    public void setWork(int work) {
        this.work = work;
    }

    public int getWorkNumber() {
        return workNumber;
    }

    public int getWorkmoney() {
        return workmoney;
    }

    public int getWork() {
        return work;
    }

    public Teacher(int workNumber, int workmoney, int work, String name, String gender, int age) {
        super( name,  gender,  age);
        this.workNumber = workNumber;
        this.workmoney = workmoney;
        this.work = work;
    }
}
